import VueRouter from 'vue-router'
import HomeContainer from '../src/components/tabbar/HomeContainer.vue'
import ChatContainer from '../src/components/tabbar/ChatContainer.vue'
import ShopcarContainer from '../src/components/tabbar/ShopcarContainer.vue'
import SetContainer from '../src/components/tabbar/SetContainer.vue'

var router = new VueRouter({
    routes: [
        { path: '/' , redirect: '/home' },
        { path: '/home' , component: HomeContainer },
        { path: '/chat' , component: ChatContainer },
        { path: '/shopcar' , component: ShopcarContainer },
        { path: '/set' , component: SetContainer },
    ],
    linkActiveClass: 'mui-active'
  })

  export default router